﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuanLyThuVien.DTO
{
    class DocGiaDTO
    {
        private String maDocGia;

        public String MaDocGia
        {
            get { return maDocGia; }
            set { maDocGia = value; }
        }

        private String hoTen;

        public String HoTen
        {
            get { return hoTen; }
            set { hoTen = value; }
        }

        private DateTime ngaySinh;

        public DateTime NgaySinh
        {
            get { return ngaySinh; }
            set { ngaySinh = value; }
        }

        private String diaChi;

        public String DiaChi
        {
            get { return diaChi; }
            set { diaChi = value; }
        }

        private String email;

        public String Email
        {
            get { return email; }
            set { email = value; }
        }

        private NhanVienDTO nhanVien;

        internal NhanVienDTO NhanVien
        {
            get { return nhanVien; }
            set { nhanVien = value; }
        }

        private LoaiDocGiaDTO loaiDocGia;

        internal LoaiDocGiaDTO LoaiDocGia
        {
            get { return loaiDocGia; }
            set { loaiDocGia = value; }
        }
        private DateTime ngayLapThe;

        public DateTime NgayLapThe
        {
            get { return ngayLapThe; }
            set { ngayLapThe = value; }
        }

        private DateTime ngayHetHan;

        public DateTime NgayHetHan
        {
            get { return ngayHetHan; }
            set { ngayHetHan = value; }
        }

        private Double tienNo;

        public Double TienNo
        {
            get { return tienNo; }
            set { tienNo = value; }
        }

        private int xoa;

        public int Xoa
        {
            get { return xoa; }
            set { xoa = value; }
        }

        public DocGiaDTO()
        {
            this.MaDocGia = "";
            this.HoTen = "";
            this.NgaySinh = DateTime.Today;
            this.DiaChi = "";
            this.Email = "";
            this.NgayLapThe = DateTime.Today;
            this.NhanVien = null;
            this.LoaiDocGia = null;
            this.NgayHetHan = DateTime.Today;
            this.TienNo = 0;
            this.Xoa = 0;
        }
    }
}
